﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace NutriStat
{
    public partial class ImportFormatGenderDialog : NutriDialog
    {
        public ImportFormatGenderDialog()
        {
            InitializeComponent();
        }        

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            if (radioButtonCode12.Checked)
                result = "1/2";
            else if (radioButtonCodeMF.Checked)
                result = "M/F";
            else if (radioButtonCodeMaleFemale.Checked)
                result = "Male/Female";
            else
                return;

            this.Close();
        }

        private void ImportFormatGenderDialog_Load(object sender, EventArgs e)
        {

        }
    }
}
